package com.hd.binlog;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 组件使用起来比较简单，需要一个前提就是Mysql开启binlog且binlog格式为ROW
 *
 *
 * show variables like "%binlog_format%"
 *
 * 在线修改立即生效
 * set global binlog_format='ROW';
 *
 * @author zhd
 */
@SpringBootApplication(scanBasePackages = {"com.hd.binlog"})
public class BinlogApplication {

    public static void main(String[] args) {
        SpringApplication.run(BinlogApplication.class, args);
    }

}
